package com.songshuai.webapi.permission.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import javax.validation.constraints.NotNull;
import java.util.List;

@ApiModel(value="角色分配权限请求实体")
@Data
@ToString
public class RoleRelateNavigationReqDto {

    @NotNull(message = "角色Id不能为空")
    @ApiModelProperty(value="角色Id",required = true)
    private Integer roleId;

    @ApiModelProperty(value="菜单和功能列表",required = false)
    private List<String> navAndFuncList;


}